package com.lwc.cfdns.service;

import com.lwc.cfdns.pojo.entity.SystemRoleDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author spring
 * @description 针对表【cfdns_system_role_dept(角色和部门(数据权限)关联表(角色1-N部门))】的数据库操作Service
 * @createDate 2023-05-30 10:00:59
 */
public interface SystemRoleDeptService extends IService<SystemRoleDept> {

    /**
     * 角色数据权限
     *
     * @param deptIds
     * @param roleId
     * @return Boolean
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/30 10:34:52
     */
    Boolean deptIds(List<Long> deptIds, Long roleId);
}
